package com.ruoyi.model.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 基本信息对象 table_info
 * 
 * @author genghz
 * @date 2021-10-20
 */
public class TableInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表ID */
    private Long tableId;

    /** 模型ID */
    @Excel(name = "模型ID")
    private Long modelId;

    /** 表名称 */
    @Excel(name = "表名称")
    private String tableName;

    /** 表描述 */
    @Excel(name = "表描述")
    private String tableDesc;

    /** 数据库ID */
    @Excel(name = "数据库ID")
    private Long dbId;

    public void setTableId(Long tableId) 
    {
        this.tableId = tableId;
    }

    public Long getTableId() 
    {
        return tableId;
    }
    public void setModelId(Long modelId) 
    {
        this.modelId = modelId;
    }

    public Long getModelId() 
    {
        return modelId;
    }
    public void setTableName(String tableName) 
    {
        this.tableName = tableName;
    }

    public String getTableName() 
    {
        return tableName;
    }
    public void setTableDesc(String tableDesc) 
    {
        this.tableDesc = tableDesc;
    }

    public String getTableDesc() 
    {
        return tableDesc;
    }
    public void setDbId(Long dbId) 
    {
        this.dbId = dbId;
    }

    public Long getDbId() 
    {
        return dbId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tableId", getTableId())
            .append("modelId", getModelId())
            .append("tableName", getTableName())
            .append("tableDesc", getTableDesc())
            .append("dbId", getDbId())
            .toString();
    }
}
